package enums;

import lombok.Getter;


public enum BizCodeEnum {
    /**
     * 通⽤操作码
     */
    OPS_REPEAT(110001,"重复操作"),
    /**
     *查询失败
     */
    QUERY_ERROR(240001,"查询失败"),
    /**
     * 缺少参数
     */
    MISSING_PARAM(400,"缺少参数"),
    /**
     * 操作成功
     */
    OPERATION_SUCCESS(200,"操作成功");
    @Getter
    private int code;
    @Getter
    private String message;
    private BizCodeEnum(int code, String message){
        this.code = code;
        this.message = message;
    }
}

